there is at least one book out there that shows that genesis was meant to be living parable for the ten commandments, each story in turn showing the consequences of violating them in order... never read the book through, but you can sort of feel the validity of it by examining the major stories and their consequences.
adam and eve having other god[s] before them -themselves and the serpent?
people disrespecting the name of God prior to the flood
the adulteration of the human species by angelic invaders
etc